{% macro tweet_box(tweets, limit=none) %}
  <div class=twitter>
    <ul>
    {%- for tweet in tweets.get(limit) %}
      <li>
        <a href="http://twitter.com/{{ tweet.user }}">{{ tweet.user }}</a>:
          {{ tweet.text|urlize }}
        <span class=meta>&mdash; {% if tweet.pub_date %}{{ tweet.pub_date|timedeltaformat }} ago {% endif %}via {{ tweet.via }}</span>
    {%- endfor %}
    </ul>
  </div>
{% endmacro %}
